import request from '@/utils/request'

// 获取设备类型故障统计
export function getFailureStatistics(params) {
  return request({
    url: '/equipment/analysis/failure-statistics',
    method: 'get',
    params
  })
}

// 获取设备类型故障详情
export function getFaultDetails(deviceType, params) {
  return request({
    url: `/equipment/analysis/fault-details/${deviceType}`,
    method: 'get',
    params
  })
} 